package cn.com.generaldata.os.ws.impl;

import java.util.List;

import org.nutz.ioc.annotation.InjectName;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import cn.com.generaldata.jsme_indicator_system.entity.GisIndicator;
import cn.com.generaldata.os.service.impl.GisShowDataService;

@Component
@InjectName
public class GisShowDataWS {

	@Autowired
	private GisShowDataService gisShowDataService;
	
	@At("/gis/queryIndicatorData")
	@Ok("json")
	public List<GisIndicator> queryIndicatorData(@Param("..") GisIndicator gisIndicator){
		
		return gisShowDataService.queryGisIndicatorData(gisIndicator);
	}
}
